//
//  MantisCellBaseModel.h
//  NLProjectFrameworkDemo
//
//  Created by iosdeveloper on 2020/4/28.
//  Copyright © 2020 yj_zhang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WelcomeJsonData.h"
#import "CommonHeader.h"



NS_ASSUME_NONNULL_BEGIN
#define topMargin adaptWidth750(60)//距离时间label的距离

#define   leftSpaceMargin adaptWidth750(140)//距离左边距离
#define   rightSpaceMargin adaptWidth750(100)

@class WelcomeJsonhistoryMsgData,WelcomeJsonAgent;
@interface MantisCellBaseModel : NSObject
//Yes代表发送者，no代表接收者
@property(nonatomic,assign)BOOL isMyself;
@property(nonatomic,strong)TIMMessage*innerMessage;//添加自定义消息
@property(nonatomic,assign)CGSize contentSize;
@property(nonatomic,strong)WelcomeJsonhistoryMsgData*historyModel;
@property(nonatomic,assign)BOOL isShowActivity;//是否显示转圈
@property(nonatomic,assign)BOOL isShowError;//是否显示错误
@property(nonatomic,strong)WelcomeJsonAgent*agent;//咨询师头像和名字
@property(nonatomic,assign)BOOL isTimeVisible;//是否显示时间
@property(nonatomic,assign)NSTimeInterval sendTime;//发送时间
@property(nonatomic,copy)NSString*imgUrl;
@property(nonatomic,strong)NSIndexPath* indexPath;//当前的选项
@end

NS_ASSUME_NONNULL_END
